import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

export 'package:flutter/services.dart';

class $SystemUiOverlayStyle {
  static SystemUiOverlayStyle defaultStyle = SystemUiOverlayStyle.dark;
}

extension StatelessWidget_SystemUiOverlayStyle on StatelessWidget {
  Widget preferredSystemUiOverlayStyle(
      {required Widget child, SystemUiOverlayStyle? style}) {
    return AnnotatedRegion<SystemUiOverlayStyle>(
        value: style ?? $SystemUiOverlayStyle.defaultStyle, child: child);
  }
}

extension State_SystemUiOverlayStyle on State {
  Widget preferredSystemUiOverlayStyle(
      {required Widget child, SystemUiOverlayStyle? style}) {
    return AnnotatedRegion<SystemUiOverlayStyle>(
        value: style ?? $SystemUiOverlayStyle.defaultStyle, child: child);
  }
}
